package com.ajhlp.spring_modules.db.multiSource;
/**
 * 数据源配置查询失败异常
 * @author ajhlp
 *
 */
public class DBSourceMetaQueryFailureException extends RuntimeException {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2689502109648702126L;
	//配置对象
	private Object queryConditon;

	
	/**
	 * 获得查询条件
	 * @return
	 */
	public Object getQueryConditon() {
		return queryConditon;
	}



	public DBSourceMetaQueryFailureException(Object queryConditon, String reason){
		super(reason);
		this.queryConditon = queryConditon;
	}
}
